package com.i2863.shiroDemo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.i2863.shiroDemo.dto.UserInfo;
import com.i2863.shiroDemo.entity.User;
import com.i2863.shiroDemo.mapper.UserMapper;
import com.i2863.shiroDemo.service.IUserService;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {

    @Override
    public UserInfo findUserInfo(String userName) {
        return this.baseMapper.findUserInfo(userName);
    }

}